<?php 

	$data=array("name"=>"robert","id"=>1024,"age"=>35,"sex"=>1,"firend"=>array("test","test1"));

	echo "resource data:";

	print_r($data);

	echo "<br>";

	include_once("comment/comment.php");

	//加密
	$encode_data=encrypt_data($data);

	echo "encode data:".$encode_data."<br>";


	//解密
	$decode_data=decrypt_data($encode_data);

	print_r($decode_data);




 ?>